Quantcast
Channel: Spiceworks Community
Viewing all articles
Browse latest Browse all 3098

Help with printer install and determining 32 or 64 bit architecture

$
0
0

Hello,

I'm trying to install printers at our remote office using the ip address and print drivers. I have the 64 bit part working, but I keep getting an error with the 32 bit part. Also, it's trying to install both and I only want it to install the driver with the correct architecture. Here is the script I came up with so far. Please help.

@echo off

echo Detecting OS processor type

if "%PROCESSOR_ARCHITECTURE%"=="x86" goto 32bit

echo 64-bit OS

cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\Prnport.vbs -a -r IP_10.11.216.68 -h

10.11.216.68 -o raw -n 9100

rundll32 printui.dll,PrintUIEntry /ia /m "Xerox WorkCentre 6400X PS" /f "\\srv-print

\printdrivers$\Xerox 6400\WC6400_PS_64_Driver\x2DNOTP.inf"

rundll32 printui.dll,PrintUIEntry /if /b "Xerox Workcentre 6400x Eustis" /f "\\srv-print

\printdrivers$\Xerox 6400\WC6400_PS_64_Driver\...


Viewing all articles
Browse latest Browse all 3098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>