- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My QuickWin programs open the printer with OPEN(UNIT = IPR, FILE = PRINTFILENAME, CARRIAGECONTROL='FORTRAN'). IPR defaults to 6 and PRINTFILENAME to 'PRN'. This worked splendidly until I started getting customers who were sharing printers. I made provision for users to enter a different PRINTFILENAME to communicate with the shared printer which worked but was a pain even when the customers IS consultant was called in.
A current customer, running Windows 2000 with a Canon printer (I don't know the model) identifies the printer with an IP address and neither I nor the IS consultant know how to make that a file name to communicate with the printer. Can anyone help ?
I using VF 6.6, have minimal expertise in C++ and don't know anything about networked computers sharing a printer.
I also read somewhere in the VF Help about a Common Box Dialog Library used to simplify things such as printer setup. I haven't been able to find this library and I don't know if it can be used with QuickWin. Any advice would be greatly appreciated.
rselzer
A current customer, running Windows 2000 with a Canon printer (I don't know the model) identifies the printer with an IP address and neither I nor the IS consultant know how to make that a file name to communicate with the printer. Can anyone help ?
I using VF 6.6, have minimal expertise in C++ and don't know anything about networked computers sharing a printer.
I also read somewhere in the VF Help about a Common Box Dialog Library used to simplify things such as printer setup. I haven't been able to find this library and I don't know if it can be used with QuickWin. Any advice would be greatly appreciated.
rselzer
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Windows printing changed the rules for how one does printing - you can, as you have discovered, no longer assume that you have a local printer attached to a parallel port to which you can write ASCII text.
I developed a module that can be used to print using Windows printing mechanisms. You'll find it in the FORPRINT sample on the CVF 6.6 CD-ROM and at http://h18009.www1.hp.com/fortran/examples/Fortran_WinPrint.f90
Steve
I developed a module that can be used to print using Windows printing mechanisms. You'll find it in the FORPRINT sample on the CVF 6.6 CD-ROM and at http://h18009.www1.hp.com/fortran/examples/Fortran_WinPrint.f90
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve:
Thanks for the assist on the directing output to shared printers. It works but I lose interpretation of the PCL commands that I use to change fonts, underline, bold words, etc. I get the codes themselves printed. Any way to activate them with Fortran_winprint ?
Thanks again for the help.
Bob Selzer
Thanks for the assist on the directing output to shared printers. It works but I lose interpretation of the PCL commands that I use to change fonts, underline, bold words, etc. I get the codes themselves printed. Any way to activate them with Fortran_winprint ?
Thanks again for the help.
Bob Selzer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page