[Samba] Different "printer preference dialog" between windows and samba

LiuYan 刘研 lovetide at 21cn.com
Thu Sep 4 08:06:45 GMT 2008


Thanks for you reply Ryan.
Do you mean this post?
http://www.nabble.com/Printer-driver-interface-different-td18898144.html

I read it and add the "PrinterDriverData\DocUiHideFlags" registry item to
the remote samba registry, but it didn't work with my HP LaserJet P2015n
printer.

and here are the registry settings of both Samba Shared Printer and Windows
Local One (exported from regedit.exe of Windows XP), they are much
different.

//
-----------------------------------------------------------------------------
// "PrinterDriverData" registry of samba shared printer
// HP LaserJet P2015 Series PCL 6
//
-----------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\HPLJP2015_PCL6\PrinterDriverData]
"Model"="HP LaserJet P2015 PCL 6"
"TrayFormTable"=hex(7):53,62,70,53,3a,67,ea,81,a8,52,09,90,e9,62,00,00,41,00,\
 
34,00,00,00,30,00,00,00,28,57,b8,7e,d2,76,20,00,31,00,20,00,2d,4e,4b,62,a8,\
 
52,01,90,b8,7e,00,00,41,00,34,00,00,00,30,00,00,00,b8,7e,d2,76,20,00,31,00,\
 
00,00,41,00,34,00,00,00,30,00,00,00,b8,7e,d2,76,20,00,32,00,00,00,41,00,34,\
 
00,00,00,30,00,00,00,b8,7e,d2,76,20,00,33,00,00,00,41,00,34,00,00,00,30,00,\
  00,00,00,00
"TrayFormMapSize"=dword:00000048
"TrayFormMap"=hex:50,72,69,6e,74,65,72,53,65,6c,65,63,74,00,09,00,00,00,4d,61,\
 
6e,75,61,6c,46,65,65,64,00,09,00,00,00,54,72,61,79,31,00,09,00,00,00,54,72,\
 
61,79,32,00,09,00,00,00,54,72,61,79,33,5f,6f,70,74,00,09,00,00,00,00,00,00,\
  00,00
"TrayFormKeywordSize"=dword:00000035
"TrayFormKeyword"=hex:50,72,69,6e,74,65,72,53,65,6c,65,63,74,00,00,4d,61,6e,75,\
 
61,6c,46,65,65,64,00,00,54,72,61,79,31,00,00,54,72,61,79,32,00,00,54,72,61,\
  79,33,5f,6f,70,74,00,00,00
"FontCart"=hex(7):00,00
"FreeMem"=hex:00,80,00,00
"PrinterDataSize"=dword:00000230
"PrinterData"=hex:00,06,30,02,81,08,00,00,00,00,60,00,00,00,00,00,00,00,00,00,\
 
64,00,58,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,10,fb,e2,b8,0b,\
 
00,00,00,00,00,01,00,01,00,00,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FeatureKeywordSize"=dword:00000124
"FeatureKeyword"=hex:54,72,61,79,33,00,4e,6f,74,49,6e,73,74,61,6c,6c,65,64,00,\
 
0a,44,75,70,6c,65,78,55,6e,69,74,00,49,6e,73,74,61,6c,6c,65,64,00,0a,4d,61,\
 
6e,75,61,6c,44,75,70,6c,65,78,00,54,72,75,65,00,0a,4d,65,6d,6f,72,79,00,33,\
 
32,4d,42,00,0a,44,65,76,69,63,65,49,73,4d,6f,70,69,65,72,00,4e,6f,74,49,6e,\
 
73,74,61,6c,6c,65,64,00,0a,48,50,44,69,73,70,6c,61,79,44,6f,63,55,49,54,61,\
 
62,00,54,72,75,65,00,0a,48,50,50,72,6e,50,72,6f,70,52,65,73,6f,75,72,63,65,\
 
44,61,74,61,00,68,70,63,68,6c,35,72,31,2e,63,61,62,00,0a,53,63,61,6c,65,46,\
 
72,6f,6d,4c,61,72,67,65,50,61,70,65,72,00,49,6e,73,74,61,6c,6c,65,64,00,0a,\
 
41,63,74,75,61,6c,43,75,73,74,6f,6d,52,61,6e,67,65,00,32,31,35,39,30,30,5f,\
 
33,35,35,36,30,30,00,0a,43,6f,6d,62,69,6e,65,4d,65,64,69,61,54,79,70,65,73,\
 
41,6e,64,49,6e,70,75,74,42,69,6e,73,00,49,6e,73,74,61,6c,6c,65,64,00,0a,48,\
  50,46,6f,6e,74,49,6e,73,74,61,6c,6c,65,72,00,54,52,55,45,00,0a,00,00
"CombinedMediaStatus"=dword:00000001
"DocUiHideFlags"=dword:00000001


//
-----------------------------------------------------------------------------
// "PrinterDriverData" registry of windows local printer
// HP LaserJet P2015 Series PCL 6
//
-----------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\HP
LaserJet P2015 Series PCL 6\PrinterDriverData]
"InitDriverVersion"=dword:00000600
"Model"="HP LaserJet P2015 PCL 6"
"FreeMem"=hex:00,80,00,00
"PrinterDataSize"=dword:00000230
"PrinterData"=hex:00,06,30,02,81,08,00,00,00,00,60,00,00,00,00,00,00,00,00,00,\
 
64,00,58,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,10,fb,e2,b8,0b,\
 
00,00,00,00,00,01,00,01,00,00,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"FeatureKeywordSize"=dword:00000124
"FeatureKeyword"=hex:54,72,61,79,33,00,4e,6f,74,49,6e,73,74,61,6c,6c,65,64,00,\
 
0a,44,75,70,6c,65,78,55,6e,69,74,00,49,6e,73,74,61,6c,6c,65,64,00,0a,4d,61,\
 
6e,75,61,6c,44,75,70,6c,65,78,00,54,72,75,65,00,0a,4d,65,6d,6f,72,79,00,33,\
 
32,4d,42,00,0a,44,65,76,69,63,65,49,73,4d,6f,70,69,65,72,00,4e,6f,74,49,6e,\
 
73,74,61,6c,6c,65,64,00,0a,48,50,44,69,73,70,6c,61,79,44,6f,63,55,49,54,61,\
 
62,00,54,72,75,65,00,0a,48,50,50,72,6e,50,72,6f,70,52,65,73,6f,75,72,63,65,\
 
44,61,74,61,00,68,70,63,68,6c,35,72,31,2e,63,61,62,00,0a,53,63,61,6c,65,46,\
 
72,6f,6d,4c,61,72,67,65,50,61,70,65,72,00,49,6e,73,74,61,6c,6c,65,64,00,0a,\
 
41,63,74,75,61,6c,43,75,73,74,6f,6d,52,61,6e,67,65,00,32,31,35,39,30,30,5f,\
 
33,35,35,36,30,30,00,0a,43,6f,6d,62,69,6e,65,4d,65,64,69,61,54,79,70,65,73,\
 
41,6e,64,49,6e,70,75,74,42,69,6e,73,00,49,6e,73,74,61,6c,6c,65,64,00,0a,48,\
  50,46,6f,6e,74,49,6e,73,74,61,6c,6c,65,72,00,54,52,55,45,00,0a,00,00
"Forms?"=dword:b8e2fb10
"HPTrayCount"=dword:00000006
"HPTRAYINFOREGDATA"=hex:ea,81,a8,52,09,90,e9,62,00,00,00,0f,00,00,00,53,62,70,\
 
53,3a,67,ea,81,a8,52,09,90,e9,62,00,00,00,01,01,00,00,28,57,b8,7e,d2,76,20,\
 
00,31,00,20,00,2d,4e,4b,62,a8,52,01,90,b8,7e,00,00,00,02,01,00,00,b8,7e,d2,\
 
76,20,00,31,00,00,00,00,03,01,00,00,b8,7e,d2,76,20,00,32,00,00,00,00,04,01,\
 
00,00,b8,7e,d2,76,20,00,33,00,00,00,00,05,01,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"HPMediaCount"=dword:00000014
"HPMEDIAINFOREGDATA"=hex:2a,67,07,63,9a,5b,00,00,00,13,01,00,00,6e,66,1a,90,b8,\
 
7e,00,00,00,12,01,00,00,48,00,50,00,20,00,1a,59,28,75,14,90,b8,7e,00,00,00,\
 
11,01,00,00,48,00,50,00,20,00,9e,52,6c,51,b8,7e,00,00,00,10,01,00,00,48,00,\
 
50,00,20,00,41,00,6c,00,6c,00,2d,00,69,00,6e,00,2d,00,6f,00,6e,00,65,00,20,\
 
00,53,62,70,53,b8,7e,00,00,00,0f,01,00,00,48,00,50,00,20,00,4c,00,61,00,73,\
 
00,65,00,72,00,4a,00,65,00,74,00,20,00,b8,7e,00,00,00,0e,01,00,00,48,00,50,\
 
00,20,00,18,4f,09,90,20,00,4c,00,61,00,73,00,65,00,72,00,4a,00,65,00,74,00,\
 
20,00,b8,7e,00,00,00,0d,01,00,00,84,98,53,62,70,53,b8,7e,00,00,00,0c,01,00,\
 
00,e1,4f,34,59,b8,7e,00,00,00,0b,01,00,00,95,62,71,5f,f6,80,47,72,00,00,00,\
 
02,00,00,00,84,98,48,51,53,62,54,5b,b8,7e,00,00,00,0a,01,00,00,07,68,7e,7b,\
 
00,00,00,09,01,00,00,c1,8b,38,52,b8,7e,00,00,00,08,01,00,00,8d,51,1f,75,b8,\
 
7e,00,00,00,07,01,00,00,69,5f,b8,7e,00,00,00,06,01,00,00,7b,8f,c5,78,b8,7e,\
 
20,00,36,00,30,00,20,00,2d,00,20,00,37,00,35,00,20,00,67,00,2f,00,6d,00,32,\
 
00,00,00,00,05,01,00,00,cd,91,c5,78,20,00,39,00,30,00,2d,00,31,00,30,00,35,\
 
00,20,00,67,00,2f,00,6d,00,32,00,00,00,00,04,01,00,00,43,00,61,00,72,00,64,\
 
00,73,00,74,00,6f,00,63,00,6b,00,20,00,31,00,30,00,35,00,2d,00,31,00,37,00,\
 
36,00,20,00,67,00,2f,00,6d,00,32,00,00,00,00,03,01,00,00,e1,4f,01,5c,00,00,\
 
00,02,01,00,00,97,7c,d9,7c,b8,7e,00,00,00,01,01,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00
"Stale"="TRUE"
"DMCStatus"=dword:00000001
"DMCExist"="True"
"InstallationComplete"=dword:00000000
"PrinterPropertiesPermission"=dword:00000001
"HPPDLType"=dword:00000002
"ConvertTicketModule"="C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\hpcc35r1.DLL"
"ConvertTicketModule32"="C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\hpcc35r1.DLL"
"DMCModule32"="C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\hpcdmc32.DLL"
"TrayFormTable"=hex(7):53,62,70,53,3a,67,ea,81,a8,52,09,90,e9,62,00,00,41,00,\
 
34,00,00,00,30,00,00,00,28,57,b8,7e,d2,76,20,00,31,00,20,00,2d,4e,4b,62,a8,\
 
52,01,90,b8,7e,00,00,41,00,34,00,00,00,30,00,00,00,b8,7e,d2,76,20,00,31,00,\
 
00,00,41,00,34,00,00,00,30,00,00,00,b8,7e,d2,76,20,00,32,00,00,00,41,00,34,\
 
00,00,00,30,00,00,00,b8,7e,d2,76,20,00,33,00,00,00,41,00,34,00,00,00,30,00,\
  00,00,00,00
"TrayFormMapSize"=dword:00000048
"TrayFormMap"=hex:50,72,69,6e,74,65,72,53,65,6c,65,63,74,00,09,00,00,00,4d,61,\
 
6e,75,61,6c,46,65,65,64,00,09,00,00,00,54,72,61,79,31,00,09,00,00,00,54,72,\
 
61,79,32,00,09,00,00,00,54,72,61,79,33,5f,6f,70,74,00,09,00,00,00,00,00,00,\
  00,00
"TrayFormKeywordSize"=dword:00000035
"TrayFormKeyword"=hex:50,72,69,6e,74,65,72,53,65,6c,65,63,74,00,00,4d,61,6e,75,\
 
61,6c,46,65,65,64,00,00,54,72,61,79,31,00,00,54,72,61,79,32,00,00,54,72,61,\
  79,33,5f,6f,70,74,00,00,00
"CustomRange"="215900_355600"
"FontCart"=hex(7):00,00
"CombinedMediaStatus"=dword:00000001
"HPFormCount"=dword:0000000c
"HPFORMINFOREGDATA"=hex:07,00,00,00,0b,00,00,00,b9,00,00,00,b7,00,00,00,0d,00,\
 
00,00,b8,00,00,00,bb,00,00,00,bc,00,00,00,46,00,00,00,52,00,00,00,ba,00,00,\
  00,bd,00,00,00
"HPMediaTypeCountRegKey"=dword:00000002
"HPMediaTypeInfoRegKey"=hex:03,01,00,00,04,01,00,00
"HPConstraintFormCount"=dword:00000012
"HPCONSTRAINTFORMINFOREGDATA"=hex:07,00,00,00,0b,00,00,00,46,00,00,00,0d,00,00,\
 
00,b9,00,00,00,b7,00,00,00,52,00,00,00,ba,00,00,00,bd,00,00,00,b8,00,00,00,\
 
bb,00,00,00,bc,00,00,00,14,00,00,00,25,00,00,00,1c,00,00,00,1b,00,00,00,22,\
  00,00,00,00,00,00,00
"HPCustomMinLength"=dword:0001f018
"HPCustomMaxLength"=dword:000696b8
"HPCustomMaxWidth"=dword:0004882a
"HPCustomMinWidth"=dword:000129a8
"MaxPaperWidth"=dword:00000b9a
"InstallDate"="09/04/2008:07:59:45"








Ryan Novosielski wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> LiuYan 刘研 wrote:
>> ----------------------------
>> OS: CentOS 5.2
>> Samba: Samba 3.0.28-1.el5_2.1
>> Printer: HP LaserJet P2105n
>> ----------------------------
>> I setup a linux print server for windows clients.
>> 
>> First I downloaded the printer drivers for windows from HP website (both
>> the
>> Universal Printer Driver PCL6 and the PCL6 driver for P2105 series), and
>> installed them on my windows client, then it created a local printer on
>> my
>> windows client.
>> 
>> Then I installed the printer drivers to samba/linux via my windows
>> client.
>> then I connected to the remote printer on samba/linux.
>> 
>> When I open the "printer preference dialog" of the local printer and
>> remote
>> one, I found that they are different. The dialog of remote printer on
>> samba
>> lost some tabs and options, such as it has no "print shortcut", and so i
>> can't tweak the "pages per paper" parameter. (see the screenshot
>> attachment)
>> 
>> http://www.nabble.com/file/p18583819/HPLaserJetP2105SeriesPCL6-printer-preference.png 
>> 
>> So, why they are different? How to make them same? Should I re-create the
>> ntprinters.tdb database?
> 
> Someone had a good answer on the list about a week or two ago to a very
> similar problem (I chimed in with a problem related to Ricoh). Check the
> list archives.
> 
> - --
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
>  |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFIvuPxmb+gadEcsb4RAt80AJ9HMR65W8gsAhRpfoONFWsJe6TPngCgn80A
> V+gE9IcP6vvnwOqjgfM69Sk=
> =ZDlH
> -----END PGP SIGNATURE-----
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
> 

-- 
View this message in context: http://www.nabble.com/Different-%22print-preference-dialog%22-between-windows-local-printer-and-samba-shared-printer-tp18583819p19305496.html
Sent from the Samba - General mailing list archive at Nabble.com.



More information about the samba mailing list