Slave printing from a remote PC running Accuterm is really easy. Sending char(18) to the display will switch the printer on and everything subsequently sent to the display will be diverted to the printer. Sending char(20) switches the printer off and returns output to the display. You'll want to set the printer to "text mode" in Accuterm so it bypasses any driver software on the PC. We have a 3rd party that does add'l finishing to some of our products and they ssh in via Accuterm over the internet to print the required bar code labels. This is the portion of the code that sends the labels to the attached Zebra printer:
PRINT SLAVE.ON FOR J = 1 TO NO.LABELS LABEL<CT-1> = "^FN10^FD":J:" OF ":NO.LABELS:"^FS" FOR I = 1 TO CT ; PRINT LABEL<I> ; NEXT I NEXT J PRINT SLAVE.OFF -John -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bryan Evans Sent: Wednesday, May 25, 2011 2:23 PM To: U2 Users List Subject: [U2] Printing to Remote Warehouse I apologize upfront if this is more related to Unix rather than UniVerse. We have a remote warehouse that connects to us via telent on a dumb terminal. They have a line printer hooked up to the dumb terminal. When we print packing lists, we open up the aux port and send the print job to the printer. We are looking to eliminate the dumb terminal, but we are stuck on how to send a print job to a local printer hooked to a PC. Has anyone done this before? Is it possible? The remote warehouse is not on our network - the only way they can connect is via telent. We are running UniVerse 10.2 on HP-UX and use AccuTerm as our emulation software. Thanks in advance, Bryan Evans _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users