Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Opening POS cashdrawer
Versions des environnements
Network:
Windows 2003 Server
Hello Comunity
I have the following command to open my cashdrawer :
SET PRINTER off
???CHR(27)+CHR(112)+CHR(0)+CHR(25)+CHR(250)
SET PRINTER on
And the cashdrawer open, but also when i select another report where the printer not a pos printer but is another lasejet printer (for ex.HP officejet), when i make a preview of this report or if i print them , my program print with the POS printer.
The default printer on my OS is my POS printer because is the printer that i use all the time for printer Pos invoices.
I don´t know, but i think that the command above keep something in memory, and when i select another A4 printing report where i define my HP Officejet, my program assume that the printer is my POs printer.
Also, i have a 2 problems:
1. after my cashdrawer open, my receipt printer make line feed and cut the paper and i don´t know why.
2. My report design for my hp officejet, and where i define this printer, after sending the code for opening the cashdrawer my program use the POS printer layout, not the HP Office jet layout.
Could someone give me an ideia on how to solve theses problems.
Many thanks
Luis Santos
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement