James: The terminal emulator often has a slave print mode of "text" or "raw". This is the easiest.
Bill >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of John Jenkins >Sent: Friday, August 10, 2007 1:12 AM >To: [email protected] >Subject: RE: [U2] Printing Printer controls from Universe > >Your ESCAPE [CHAR(27)] may well be intercepted. Check your terminal / >terminal emulation specification for what it might intercept. > >Odds on it that never gets to the printer. > >You might be able to send an alternate character (155 for example - 128+27) >or use a different slave print mode (e.g. passthru'). Otherwise there may >well be something in the emulation documentation that tells you how to >"escape" and ESCAPE. > >I've seen this done a few ways: CHAR(27) meaning escape; followed CHAR(27) >meaning ESCAPE again - but the ESCAPE was escaped meaning send an ESCAPE. >The addition of 128 to the ASCII value was another, I've also seen games >with SI and SO to "escape" a character. > >Hope it helps > >JayJay > > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of James >Hutchinson >Sent: 10 August 2007 07:32 >To: [email protected] >Subject: [U2] Printing Printer controls from Universe > >Hi All, > >Does anyone know how to send a control code to a printer connected as a >slave? I have tried to send the escape sequence but it is not being >interpreted by the printer, just printed out. > >Change HP printer to landscape. > >Using print CHAR(27):" &l1O" > >Thanks, > >James Hutchinson ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
