VOGONS


Printjob´s abort

Topic actions

First post, by bennySB

User metadata
Rank Newbie
Rank
Newbie

Hi guys,

at first sorry that my english is not the best^^

Now go one to my problem:

i´m using dosbox megabuild 6 on my PC´s (WIndows 7 32- and 64-Bit) and i´m not trying to play a game, i´m using it to use a programming tool from my company, but i can´t print something.

My settings are these:

[parallel]
# parallel1: parallel1-3 -- set type of device connected to lpt port.
# Can be:
# reallpt (direct parallel port passthrough using Porttalk),
# file (records data to a file or passes it to a device),
# printer (virtual dot-matrix printer, see [printer] section)
# Additional parameters must be in the same line in the form of
# parameter:value.
# for reallpt:
# Windows:
# realbase (the base address of your real parallel port).
# Default: 378
# ecpbase (base address of the ECP registers, optional).
# Linux: realport (the parallel port device i.e. /dev/parport0).
# for file:
# dev:<devname> (i.e. dev:lpt1) to forward data to a device,
# or append:<file> appends data to the specified file.
# Without the above parameters data is written to files in the capture dir.
# Additional parameters: timeout:<milliseconds> = how long to wait before
# closing the file on inactivity (default:500), addFF to add a formfeed when
# closing, addLF to add a linefeed if the app doesn't, cp:<codepage number>
# to perform codepage translation, i.e. cp:437
# for printer:
# printer still has it's own configuration section above.
# parallel2: see parallel1
# parallel3: see parallel1

parallel1=file dev:lpt1
parallel2=disabled
parallel3=disabled

and then i´m using this command to direct the print job to my network/usb/pdf printer:

net use LPT1: \\Benny-PC\CAE2000 /PERSISTENT:YES

But now comes the problem. i can see the print job at every printer but it will successfull deleted without anything comes out of the printer.

I´m already tried the seetings with Spooling etc. and nothing helps.

kvaj5epj.jpg

Now my question:

Can someone help me on this platform?

MfG Benny

Reply 1 of 8, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Is this supposed to be printing a PDF? Are you sure your PDF printer is working with Windows applications normally? Some of them can be a little problematic.

Reply 2 of 8, by emendelson

User metadata
Rank Oldbie
Rank
Oldbie

Try saving the output to a file on your disk. What format does the file have? Is it a PostScript file? A PCL file? You can post it here if you don't know and we'll figure out what it is. Also, exactly what kind of printer is on your network? What is the exact manufacturer and model name?

What kind of printer is your DOS application set up to print to? If it's a different kind of printer from your real printer, that might explain the problem.

Reply 3 of 8, by bennySB

User metadata
Rank Newbie
Rank
Newbie

Hi,

also i am trying to print on two different printer.
The first one is an Adobe PDF printer (Adobe Distiller X) and the second one is temporally my home printer (Samsung SCX-4500W (tried over Network and USB connection)
My DOS-Programm is set up on a Deskjet printer.
Both things you can see on the following picture

hyd4s2ee.jpg

What type are my DOS-Programm are sending (PCL, etc.) i must ask my company development.

Reply 4 of 8, by bennySB

User metadata
Rank Newbie
Rank
Newbie

I had made a test print out of my DOS-programm over 2 pages and directet it into a file (see my attachments), additional i made 2 screenshots of the 2 pages how they must look after printing them out.

Page 1:
4xvhkahs.jpg

Page 2:
x62ftg9r.jpg

Normally is it that both pages print out on the same page, but that is´nt the important thing.

I hope someone can help me now.

Reply 5 of 8, by emendelson

User metadata
Rank Oldbie
Rank
Oldbie
bennySB wrote:

I had made a test print out of my DOS-programm over 2 pages and directet it into a file (see my attachments)

You forgot to attach the attachments, but if your DOS program is set up to print to a DeskJet, then the attachments will be in PCL3 format. Your Adobe Distiller will not be able to convert the PCL3 print output to a PDF, and your other printer probably will not be able to print it either.

You may be able to convert the PCL3 output to a PDF file by using WinPCLtoPDF, which you can find here:

http://www.columbia.edu/~em36/pcltopdf.html

You can print the PCL file to any Windows printer by using GhostPCL (which is included in WinPCLtoPDF); you can find GhostPCL here:

http://www.ghostscript.com/download/gpcldnld.html

Reply 6 of 8, by bennySB

User metadata
Rank Newbie
Rank
Newbie

perfect, with this tip i can print the file.

But now i´ve got the next Question:

is it possible to add a command line in the *.conf file from DOS-Box under "autoexec" that the printout come automaticly?

When i´m printing the DOS-Box console says me the following term:

Parallel 1: File closed.

can i use this to start a printjob on any printer?

Reply 7 of 8, by emendelson

User metadata
Rank Oldbie
Rank
Oldbie

Remember that DOSBox is designed for games, not applications, so we probably should not be discussing this here. But all the information you need is here:

Printing & clipboard-exchange - kludgy workaround for DOSBox under Windows

It's probably best if you send further questions via private messages, because the developers have excellent reasons for discouraging the use of DOSBox for applications.

Reply 8 of 8, by bennySB

User metadata
Rank Newbie
Rank
Newbie

ok thanks for this tip.