VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Send a preformated file to any printer

Newsgroup Posting  (15 Submissions)   Miscellaneous   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Q. How can I send a preformated file to a printer "as is". If I use Printer.Print then things like ESC get converted to a box or whatever chr$(27) is in the current font.
A.I'm using following code to send AutoCAD .plt-files to my printer, and it works ok for me. "Soren Staun Jorgensen"

API Declarations
Public Declare Function CopyFile& Lib "kernel32" Alias "CopyFileA" (ByVal
lpExistingFileName As String, ByVal lpNewFileName As String, ByVal
bFailIfExists As Long)

Rate Send a preformated file to any printer (38(38 Vote))
Send a preformated file to any printer.bas

Send a preformated file to any printer Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters