I think Ed's right. Really, once you add the printer control sequences, which as Richard pointed out - you need to preface with the <esc> code, you have a pcl document and not a text document.
There are a number of PCL viewers that will do this - the ones I found were either good or cheap. If you're trying to put something in a text document that will automatically change the font, then you will either need to use a different file format (word, rich text, html, etc) or figure out a way to "preconfigure" whichever viewer you will be using to look at the file. Hth Colin Alfke Calgary, Canada >-----Original Message----- >From: Ed Clark >Can you restate the question? It sounds like you're asking 1 >of 2 things: >1: how do I send escape sequences to the printer. >2: how do I view what I've queued to the printer, instead of >actually printing it. >3: How do I view the file that I created with writeseqs--maybe >in notepad--and then actually print the file from there, since >writeseq creates a file and not a printer queue entry. > >-----Original Message----- >From: Richard Sammartino > >David, Have you tried WRITESEQ >CHAR(27):"&|1O":CHAR(27):"&k2S":CHAR(27):"(s7H" ? This might >be what you need. > >Rich Sammartino > >At 04:31 PM 4/11/2005 -0700, you wrote: >>hello, >> >>How do you incorporate the following printer control command in a >>writeseq command so when you open the report in txt format and print >>the way you view it and it doesnt get all distorted. >> >>landscape = "&l1O" >>compressed = "&k2S" >>cpi = "(s7H" >> >>I need compressed landscape at 7 per inch. >> >>writeseq ........ >> >>thanks in advance! >> >>David ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
