Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

iSeries / AS400 FAQ : (Category) Programming : How can I print barcodes on an HP printer?

0
10 Posted

iSeries / AS400 FAQ : (Category) Programming : How can I print barcodes on an HP printer?

0
10

The most portable way (multiple printer vendors) would be to use AFPDS and the DDS keyword BARCODE. This would require setting the printer up as an AS/400 device. Configuring it as a remote output queue will result in the loss of several important features, like page range, restart, error detection, etc. If you must send the actual print commands to the printer, Pete Hall has published how he accomplished the job at http://www.pbhall.us/ (note the new web site) 27 Jun 2001 Vern Hamberg had this to say 29 Apr 1998 in MIDRANGE-L: Sending the ESC (x’1B’) code causes problems. You can get around this by creating a WSCST (workstation customization object) with a translation table (:EBCASCTBL) section. You need to select one of the characters to represent your ESC code (we use EBCDIC x’9e’ or some such). You put the table after the :ASCCPINFO.:EASCCPINFO. section. Use RTVWSCST to get the source. You get the same list of manufacturer/model values you get in CRTPRTF. Then insert the table sect

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123