Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Net Express v5.- personal edition
Hello All!

I'm having a problem converting some old Workbench programs to NE.

The biggest problem is just to print out reports.

Original assign clause is Select print-rep assign "PRN:".
This doesn't work and have also tried assign printer as well as assign print
er
"print.txt".
This last one does work to some point but I have to manually spool out the
print.txt file.   How do you set printing up in NE to auto go to spool say t
o
an HP laserjet 4000 ?

Any suggestions please, but don't forget there is a 2200 line limit on
compiler.

Vince



Report this thread to moderator Post Follow-up to this message
Old Post
Vince Coen
06-02-07 11:55 PM


Re: Net Express v5.- personal edition
Vince Coen wrote:
> Hello All!
>
> I'm having a problem converting some old Workbench programs to NE.
>
> The biggest problem is just to print out reports.
>
> Original assign clause is Select print-rep assign "PRN:".
> This doesn't work and have also tried assign printer as well as assign pri
nter
> "print.txt".
> This last one does work to some point but I have to manually spool out the
> print.txt file.   How do you set printing up in NE to auto go to spool say
 to
> an HP laserjet 4000 ?
>
> Any suggestions please, but don't forget there is a 2200 line limit on
> compiler.
>
> Vince
>
>
The question has already been partially answered but you simply can't
mix and match the old DOS OS syntax with Windows OS.

Possibilities are :-

- assign print file to disk - see some examples at University of
Limerick - http://www.csis.ul.ie/COBOL/. Then of course you subsequently
print the disk file.

- use PC_PRINT routines - plenty of M/F examples - think of setting up
your common print lines in W/S rather like laying out Screen Section or
Report Writer lines

- third party 'Windows' printer software like -
http://www.sanface.com/txt2pdf.html

If you want to try the PC_PRINT e-mail me, (editing my address). I can
give you an OO class, while not containing all the printer routines,
would certainly  get you off the ground. (It's a while since I did it,
so it can be improved upon).

Jimmy

Report this thread to moderator Post Follow-up to this message
Old Post
James J. Gavan
06-11-07 11:55 PM



My girlfriend cheated on me! Here is the revenge, look how I f^^^ed her!
http://xx-amateur-movies.org/vid/218571/
Please share with friends

Report this thread to moderator Post Follow-up to this message
Old Post
Anen
06-19-07 08:11 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:51 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.