Solved

Printing PostScript files to a line printer

Posted on 1998-09-09
3
302 Views
Last Modified: 2006-11-17
OK, I'm not trying to do this personally, but I'm being badgered by someone who is...  User has a PostScript file of what is actually a pretty simple report (straight text, no graphics) and they want to print it out, under VMS, to a line printer.

PostScript printer not available (unless anyone knows of a PS line printer :-).  Likewise, a plain text version of this report is also not available (due to a combination of limitations in the way the report writing software exports data and the fact that the MS Generic Text driver doesn't support Landscape mode).

I know it's not trivial to convert PS to text, so I'm guessing that the most likely answer to this is going to be "can't do it".  If someone *does* know how to, I'll bump up the points appropriately...

Alternatively, does anyone know of a generic text only Windows printer driver that supports Landscape?  An answer to either question will solve the problem...
0
Comment
Question by:ShootThemLater
3 Comments
 
LVL 12

Expert Comment

by:mark2150
Comment Utility
Postscript printing requires a *smart* printer that understands Postscript formatting codes. Period. No options. It doesn't matter if the *content* is straight ASCII, it's still rolled in a Postscript wrapper and will *NOT* print on lineprinter.

Instead of trying to turn the page to LANDSCAPE, just diddle with the page dimensions and make the page 11" WIDE and only 8-1/2" high. This prints on a landscape page without requiring sending a "rotate to landscape" command.

M

0
 

Author Comment

by:ShootThemLater
Comment Utility
The bit about a PS line printer was a joke - hence the smiley.  My question was whether there was any way of taking a PS file and outputting it in plain text, with rudimentary formatting (we're talking tab seperated columns and rows here).

As I noted, I'm aware that it's not trivial to extract a text representation of a PS file, but it's not impossible.  I'll clarify my question: has anyone done this or come across it?

Using custom page dimensions is fine in theory - and was one of the first things tried - but  the software being used to generate the output doesn't like this and can't be pursuaded to generate correct output in that case.
0
 
LVL 6

Accepted Solution

by:
joopv earned 50 total points
Comment Utility
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now