DocMgr and barcode printing


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Barbaruolo on October 27, 2010 at 10:34:22:

After learning the power of the DocMgr program at the meeting I decided to create a PDF Invoice Archive printer and do some testing. Once I cfig'd the printer I added code to an invoice print program to print all the formats to the the archive file/printer as well. It works great except for a Cform print statement that prints a barcode.

When I open the the document in DocMgr, the invoice looks great but the barcode did not print. The barcode font is a 3of9 and it prints fine on the printer, but only the invoice# with a preceeding and trailing "*" appear on the docmgr file. Just as if the barcode font was not installed on the PC.

If I choose the PDF Archive printer from my printer selector as the primary printer the archive fine contains the barcode!! Attached is my cform program logic. Simple, but not working when printing to my "Docmgr" lun!?!

Below is the routine in my cform program that prints the invoice# as a 3 of 9 barcode.

Has anyone else had this problem or have any ideas what the problem maybe?

My routine in my cform program…….

!------------- DRAW INVOICE# BARCODE ----------------

Gosub GDI.InitLogFont
lfHeight$ = IntelD(26*20)
lfFaceName$ = "3 of 9 Barcode"+NullByte$
lfCharSet$ = INTEL(ANSI.CHARSET)
Gosub SetFont
X1=.25*TWIP.INCH
Y1=1
! Data$ = "*"+PCMPY$+INVOICE$+"*"
Data$ = "*"+INVOICE$+"*"
Print (Lun) (TR); (TR);(TextOut = X1, Y1);Data$;NullByte$
If Archive$='Y' _
Print (DocMgr) (TR); (TR);(TextOut = X1, Y1);Data$;NullByte$

The last two lines are the only thing I added to this routine.
Any ideas?

Thanks!
Jim




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]