For Programmers: Free Programming Magazines  


Home > Archive > Fortran > January 2006 > Re: Dusting off Visual/Digital Fortran - how the heck to migrate









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Dusting off Visual/Digital Fortran - how the heck to migrate
Steve Lionel

2006-01-16, 9:57 pm

pjlsr@netscape.com wrote:
> I'd like to know just how to address USB port. I have an old routine
> that use to print a file the way I wanted it, but since I got an
> ALL-IN-ONE HP machine The routine no longer works. Seems like it needs
> to be on a parallel printer.


You don't "address the USB port". On Windows, you create a device
context for the printer, render your text to it, and use various API
routines to print the rendered bitmap. The FORPRINT sample I referenced
earlier does all that for you, and even has the option to bring up a
printer selection box, change from portrait to landscape, change fonts, etc.

It certainly isn't as easy as printing text on VMS, but then printing
graphics on VMS wasn't a piece of cake either.

Steve
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com