There Is An Error In The Page Setup Dialog Box 追蹤

0
Avatar
Legacy Poster

Dear all,

 

I have a random problem with our system SAP-Bartended.  Bartender is configured to receive directly the Idoc of SAP (not use commander) .

 

Randomly, some labels don't print with bartender and I have an error message on history explorer =>

"There is an error in the Page Setup dialog box. Correct the problem and try again."

I use the same layout and sometimes on label on two don't print with this message.

 

Where can I search the problem ?

5 意見

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

If you're not automating BarTender via Commander, how are you automating it exactly? From your email it seems that at print time you're not seeing the BarTender process because otherwise you would be seeing the BarTender error message... Are the BarTender processes being run under a service context?

 

What message number do you get exactly? Is it message 3704?

0
Avatar
Legacy Poster
評論操作 永久連結

Hi Domingo,

 

I'm receiving this message. I am using C#/.NET to generate a .PNG image. Sometimes it works. Somtimes it doesn't.

 

The message I receive is:

 

 

Message Category: Printer, Message Severity: Error, Message ID: 3704, Message Text: There is an error in the Page Setup dialog.  Please fix the problem and
try again.

 

 

 

My code is pretty simple and looks like:

 

 

 LabelFormat.ExportPrintPreviewToFile(preview_home, file_name, ImageType.PNG, ColorDepth.ColorDepth256, new Resolution(96), Color.White, OverwriteOptions.Overwrite, true, true, out messages);
 

 

Any ideas?

                          

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

You would be getting the same message if instead of exporting to print preview you would directly print the label. The BarTender document has been initially designed for Printer A. At print time, you're probably switching the printer to be used for the print preview, and this printer is different in specifications than the original printer you've used at design time, hence the error.

 

I suggest you to design the BarTender document specifically for the same (or very similar) printer you will be using at print time for doing the export to file. Do this by assigning the correct printer via the "File > Print" dialog in BarTender.

 

Does this help?

0
Avatar
Legacy Poster
評論操作 永久連結

Hello,

 

I hope there was solution to this, because we have the same behaviour here.

 

Bartender Enterprise Automation 10.0 SR4 build 2868.

 

It gets worse though. The printing goes fine for some days, then all of a sudden, we get this mysterious message on one layout, then a bit later on an other layout and then an other... The only fix is to reboot the bartender server, then it works again for a week or so.

It doesn't block the printing of all of the labels with the same layout once it occurs, but every couple of labels, it fails for one or two.

We only have this on this particular server, the other bartender servers do not have the same issues.

 

A possible cause is that the .btw files are stored on a network share. There is only this server wich uses these layouts, so there shouldn't be locking issue.

Analysis of the task reports in in the History Explorer show a couple of remarkable differences between a failed and a succeeded printing :

- In the document details, the timestamp of last changes to the layout files is almost the same as the printing date for a succeeded print-out. For a failed printing, it reflects the last changedate as reported by Windows.

- In the printerdata, the printer model type is the same as the printer name for a failed print. For a succeeded print, the model type is correct.

 

Are these simply issues of Bartender, or do they reveal some more information ?

 

As we have a 24/7 plant using these labels, we need to solve this. Please advice.

0
Avatar
Canguita
評論操作 永久連結

Hello,

 

If this is an urgent issue I would sugges to contact directly with our Technical Support for your region:

 

http://www.bartenderbarcodesoftware.com/label-software/contact_us.aspx

 

About your issue, are you printing directly from BarTender or are you integrating BarTender with an external application? If you are integrating it please le us know how you are doing it.

 

If you are integrating BarTender please check if you are able to print your label directly from BarTender.

 

Is it possible that your external application is running under a Windows account that hasn't enough permission to use the printer which was used to design your label file?

 

We will need more information about how are you printing your labels.

 

Do you have BarTender Log files? If yes, please send them.

 

Thanks,

 

Carlos

登入寫評論。