martin.hechenberger@mpreis.at
2002-Apr-23 06:48 UTC
[Samba] alloc_mem with cups - printing
Hi, I am using samba (latest cvs, 2 min. ago) to provide printer functionality to some windows-clients (w2k, nt4sp6a). Every seconds I get 5 of these entries in my log: [2002/04/23 15:45:36, 0] rpc_server/srv_spoolss_nt.c:_spoolss_enumprinterdataex(7762) talloc_realloc failed to allocate more memory for data! Does anybody know what that means? Martin
On Tue, 23 Apr 2002 martin.hechenberger@mpreis.at wrote:> Hi, > > I am using samba (latest cvs, 2 min. ago) to provide printer functionality > to some windows-clients (w2k, nt4sp6a). Every seconds I get 5 of these > entries in my log: > > [2002/04/23 15:45:36, 0] > rpc_server/srv_spoolss_nt.c:_spoolss_enumprinterdataex(7762) > talloc_realloc failed to allocate more memory for data!What printer driver are you using? I should probably make this a mor informative error message. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
On Thu, 25 Apr 2002 martin.hechenberger@mpreis.at wrote:> The drivers used are Lexmark Optra T610,T610, R+, 1225, HP Laserjet 2200 > and the respective PPDs for Cups by Adobe. All Values in this function are > 0, pointer=nil at this time, so alloc must fail. don't know why.Sounds like the driver has not created its printer data. You're serving the printer drivers from the Samba box right? Change some setting on the samba printer like "page orientation" and it will cause the driver to initialize itself. I'll clean up the error message anyways. Thanks.> BTW: How can I avoid this: Unable to print file to Print_01 - > client-error-document-format-not-supportedAre you getting this on the Windows client? Samba only supports RAW printing for driver download. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--