![]() ![]() ![]() |
|
|
PRP-080 Receipt Printer Image Downloading |
|
Q: How to check the status of the printer ? What is the command and also give the details of the parameters if any along with the sample program if you have any.
A: Our
current version of printer (PRP-080
Basic Version)
does not support check status of the printer through the software
command. - but the PRP-080 Advanced Version will.
Please refer to the PRP-080 Basic and PRP-080 Advanced comparison table below:
Note:Blue color and (*) items are the functions that will effect printing speed
Q: How to
download the logo in the memory of the printer and print it out
using command line.
Please refer to the below command
lines. or simply use
this utility
to download the image to your receipt printer.
This is quiet complicated, Basically,
what I used to do for a 64 dots (W) x 32 dots(H) image is:
A: - Use Hex Code:
1D 2A 64 32
"bitmap image Code
(d1...d(x × y × 8)"
The
key point is how to design a Epson compatible bitmap image
("bitmap image
Code
(d1...d(x × y × 8)")
Another "lazy way" to do this is to
make a very simple standard Windows 1-bit bitmap logo using any
image editor such as Adobe Photoshop (W or H must be 8, 16, 24, 32,
40, 48, 56 dots... and etc...) , invert the color and rotate its
position to right 90-degree, open this image by a Hex Editor, copy
all the Hex Code of this bitmap image, and paste it at the end of
this command (1D
2A 64 32 "Your_Hex_Code_of_Bitmap_Image") and
this will still cause printer to print a inaccurate image
because the Windows BMP is NOT Epson bitmap compatible, Since the
Epson Bitmap counts the dots vertically and its format is somehow
opposite to the Windows BMP.
It is not an easy task to design the Epson Compatible Image, you
will need to refer to the Epson specification
here. Otherwise, You may
consider to
purchase this
software (The Epson logo maker)
or find any other software that is providing similar function.
Please note that the
PRP080 (Basic Version) receipt printer won't store the image inside its
memory like what Epson & Samsung's printer does, the downloaded
image will be ERASED immediately once the unit has been powered-off.
so it is necessary to write the above codes prior to your "print
image command" and any other necessary printing commands each
time whenever the logo printing is needed. However, Our New
PRP-080 (Advanced version) is now
fully support the image uploading mode.
GS ∗ x y d1...d(x × y × 8)
[Name] Define downloaded bit image [Format] ASCII GS ∗ x y d1...d(x × y × 8) Hex 1D 2A x y d1...d(x × y × 8) Decimal 29 42 x y d1...d(x × y × 8) [Range] 1 ≤ x ≤ 255 1 ≤ y ≤ 48 x × y ≤ 1536 0 ≤ d ≤ 255 [Description] Defines a downloaded bit image using the number of dots specified by x and y • x specifies the number of dots in the horizontal direction. • y specifies the number of dots in the vertical direction. [Details] • The number of dots in the horizontal direction is x × 8, in the vertical direction it is y × 8. • If x × y is out of the specified range, this command is disabled. • The d indicates bit-image data. Data (d) specifies a bit printed to 1 and not printed to 0. • The downloaded bit image definition is cleared when: ESC @ is executed. ESC & is executed. FS q is executed. Printer is reset or the power is turned off. • The following figure shows the relationship between the downloaded bit image and the printed data.
To print out the logo using command
line, Please refer to the command description below (sheet 120 (pdf
page.131) of the Epson spec.), our printer is compatible with
most of the Epson commands.
It's not so difficult, once the
communication has been connected between the printer and PC, you can
code the Hex. "1D 2F 0/1/2/3"
into your AP.
GS / m
[Name] Print downloaded bit image [Format] ASCII GS / m Hex 1D 2F m Decimal 29 47 m [Range] 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 [Description] Prints a downloaded bit image using the mode specified by m. m selects a mode from the table below: m Mode Vertical Dot Density Horizontal Dot Density 0, 48 Normal 180 dpi 180 dpi 1, 49 Double-width 180 dpi 90 dpi 2, 50 Double-height 90 dpi 180 dpi 3, 51 Quadruple 90 dpi 90 dpi [dpi: dots per 25.4 mm {1"}] [Details] • This command is ignored if a downloaded bit image has not been defined. • In standard mode, this command is effective only when there is no data in the print buffer. • This command has no effect in the print modes (emphasized, double-strike, underline, character size, or white/black reverse printing), except for upside-down printing mode. • If the downloaded bit-image to be printed exceeds the printable area, the excess data is not printed. • Refer to Figure 3.12.3 for the downloaded bit image development position in page mode. • If the printing area width set by GS L and GS W is less than one line in vertical, the following processing is performed only on the line in question: The printing area width is extended to the right up to one line in vertical. In this case, printing does not exceed the printable area. If the printing area width cannot be extended by one line in vertical, the left margin is reduced to accommodate one line in vertical.
Mini Receipt Printer | Barcode Printer | High Speed Thermal Receipt Printer
Barcode Scanner | Magstripe Card Reader / Writer |
POS Customer Display |
POS Keyboard |
|
| Copyright 2004 Fametech Inc.(Tysso) Home | Products | Contact |