Print To Pdf Follow
I am trying to print label as pdf doc. I have treid this with PDF but had no luck.
here is the snippet of my code.
LabelFormat format = new LabelFormat(template_home + template_name);
format.PrintSetup.PrinterName = printer_name;
Messages messages = null;
LabelFormatDocument LabelFormat = engine.Documents.Open(format, out messages);
LabelFormat.PrintSetup.JobName = template_name;
BarTender History Explorer says that it successfuly sent the job to the printer that I specified in the above.
but I don't see anything under output folder.
I have no problem with priting the same label manually but API doesn't seem to work for me.
can anyone give an advice on debugging or coding?
Please sign in to leave a comment.