+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Performance problem with LLPrintStart


(Guest) #1

Hello,

At one of the 300 installations of our POS application, whe have a
performance problem with LLPrintStart.

The LLPrintStart taks about 20 seconds.

Any ideas?

Our coding.

ds_debug('PrintKassaTicket-Druk_Kassaticket-90')

Case LL_Action

  Of 2

     LL_Result = LLPrintStart(LL_hJob,                       |

                              LL_Project_List,               |

                              LL_Report_Name,                |

                              LL_Print_Preview,              |

                              0)

  Else

     LL_Result = LLPrintStart(LL_hJob,                       |

                              LL_Project_List,               |

                              LL_Report_Name,                |

                              LL_Print_Normal,               |

                              0)

End



ds_debug('PrintKassaTicket-Druk_Kassaticket-91')

If LL_Result <> 0 then

    LLDisplayError(LL_Result)

    Exit

End

avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080918-0, 18/09/2008
Tested on: 19/09/2008 13:55:22
avast! - copyright © 1988-2008 ALWIL Software.
[url=http://www.avast.com

][/url]


(Guest) #2

My first assumption: your printer (defined in the P-File) is a network
resource, and it’s not available (timeout usually is 30 seconds) or
the network is more than busy.

For testing:

a) is the default printer in the network, and is it available?

b) use LlSetPrinterToDefault() (or rename the P-file) to set LL’s
printer of this project to the default printer

Is it faster afterwards?

Second: use LlSetDebug() and look at the log file if you find any
hints. Not very likely on timeout situations, but possibly…

Paulchen

“Stefan Van Vaerenbergh” <info@v…> wrote in message
news:22859192008135829@combit.net

Hello,

At one of the 300 installations of our POS application, whe have a
performance problem with LLPrintStart.

The LLPrintStart taks about 20 seconds.

Any ideas?

Our coding.

ds_debug(‘PrintKassaTicket-Druk_Kassaticket-90’)

Case LL_Action

 Of 2

    LL_Result = LLPrintStart(LL_hJob,                       |

                             LL_Project_List,               |

                             LL_Report_Name,                |

                             LL_Print_Preview,              |

                             0)

 Else

    LL_Result = LLPrintStart(LL_hJob,                       |

                             LL_Project_List,               |

                             LL_Report_Name,                |

                             LL_Print_Normal,               |

                             0)

End

ds_debug(‘PrintKassaTicket-Druk_Kassaticket-91’)

If LL_Result <> 0 then

   LLDisplayError(LL_Result)

   Exit

End


avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080918-0, 18/09/2008
Tested on: 19/09/2008 13:55:22
avast! - copyright © 1988-2008 ALWIL Software.
[url=http://www.avast.com

][/url]