PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:print barcode no work - code 479 (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:print barcode no work - code 479


#253
XTremTourist (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
print barcode no work - code 479 6 Years, 4 Months ago Karma: 0  
Hello, sorry for my bad english but i'm french.
This portail is great for learn php-gtk 2

I have POS printer connected on Seriel port
This printer is "Citizen CBM 1000 Type II label"

PHP-GTK 2 run on Windows Xp Pro sp2
when i lauch code 479 application run correctly and when i push print button ms-dos window return error

Warning: fopen(PRN): failed to open stream: No such file or directory in ...

and after fwrite error because don't open stream

I think is possible script un work because the printer is on Serial port. It is possible to send data on printer on serial port ?
 
  The administrator has disabled public write access.

#255
kksou (Admin)
Admin
Posts: 1722
graph
User Online Now Click here to see the profile of this user
Re:print barcode no work - code 479 6 Years, 4 Months ago Karma: 27  
Instead of

Code:
fopen('PRN', "w"«»);
Try
Code:
fopen('COM1', "w"«»);
or fopen('COM2', "w"); fopen('COM3', "w"); fopen('COM4', "w"); if yours is on other COM ports. Regards, /kksou
 
  The administrator has disabled public write access.

#256
XTremTourist (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:print barcode no work - code 479 6 Years, 4 Months ago Karma: 0  
Hooo ... Thx that is great now working

I did not even think of this solution

Sorry sometimes I do not well thought out.
 
  The administrator has disabled public write access.
#6134
cindy313 (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:print barcode no work - code 479 5 Months, 3 Weeks ago Karma: 0  
have you tried this barcode label printing software ,which offers the guide for printing barcode
 
  The administrator has disabled public write access.
#6177
cindy313 (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:print barcode no work - code 479 4 Months, 2 Weeks ago Karma: 0  
hey , you may also check this barcode label printing manual
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved