mSchmidt
asked on
Eject drawer on parallel POS printer, ejecting feeds paper
Hi
I have a drawer connected through a POS printer i have figured out that sending the command
Chr(27) + Chr(112) + Chr(0) + Chr(25) + Chr(250)
will eject the drawer i have tried using
Printer.FontName = "FontControl"
Printer.Print "A";
Printer.EndDoc
however this will send an end, making the printer feed paper
as will
OPEN "LPT1" for output as #1
PRINT #1, Chr(27) + Chr(112) + Chr(0) + Chr(25) + Chr(250)
CLOSE #1
what iam searching for is someway to eject this drawer without making the printer feed paper
I have a drawer connected through a POS printer i have figured out that sending the command
Chr(27) + Chr(112) + Chr(0) + Chr(25) + Chr(250)
will eject the drawer i have tried using
Printer.FontName = "FontControl"
Printer.Print "A";
Printer.EndDoc
however this will send an end, making the printer feed paper
as will
OPEN "LPT1" for output as #1
PRINT #1, Chr(27) + Chr(112) + Chr(0) + Chr(25) + Chr(250)
CLOSE #1
what iam searching for is someway to eject this drawer without making the printer feed paper
ASKER
yup
Try doing it like this:
PC -> DRAWER -> PRINTER
what happens if you do that?
PC -> DRAWER -> PRINTER
what happens if you do that?
Hi,
I think I have a solution for you.
In the configuration-screen of you printer, you are able to set commands that should be executedin the beginning and at the end of a print job (it is this way with most of the POS-printers, I use the samsung srp-350) There you can also choose to open the drawer at the beginnen and/or ending of a print job.
If you want to be able to open the drawer on other times, you could use the code u have, with the font control. But then you will have to disable the feed. Check your configuration for the printer, and look for a tab called additional commands. there you should be able to check a box "without paper feeding" in the category end of doc. But then you will have to feed in you program. you can feed (and cut) with the control font also.
Hope this helps
I think I have a solution for you.
In the configuration-screen of you printer, you are able to set commands that should be executedin the beginning and at the end of a print job (it is this way with most of the POS-printers, I use the samsung srp-350) There you can also choose to open the drawer at the beginnen and/or ending of a print job.
If you want to be able to open the drawer on other times, you could use the code u have, with the font control. But then you will have to disable the feed. Check your configuration for the printer, and look for a tab called additional commands. there you should be able to check a box "without paper feeding" in the category end of doc. But then you will have to feed in you program. you can feed (and cut) with the control font also.
Hope this helps
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
PC -> PRINTER -> DRAWER, ON LPT1 (Parrell). Is this correct?
-Brian