Not sure what you want to do this on but if you can use Internet Explorer on Windows then you coudl install PDFCreator as a printer driver and then use a script like the one below (make sure the PDFCreator is set as default printer first)
Basically, it sets a few variables so that the PDF Creator will print without prompting for filenames etc and then it loads each file named in the list at c:\temp\urls.txt (just a plain text file, 1 URL per line). Once the page is loaded it gets printed.
You don't have any control over things like fitting to page etc (although I suspect you could - this is left as an exercise for the reader :-)) but it basically works.
Code:
const OLECMDID_PRINT = 6
const OLECMDEXECOPT_DONTPROMPTUSER = 2
const PRINT_WAITFORCOMPLETION =2
Const HKEY_CURRENT_USER = &H80000001
Initialise
set oShell=createobject("wscript.shell")
set OFSO=createobject("scripting.filesystemobject")
set oFile=ofso.opentextfile("c:\temp\urls.txt")
do while not ofile.atendofstream
sURL=ofile.readline
PrintPage sURL
loop
oFile.close
sub PrintPage(sURL)
Set oIE= CreateObject("InternetExplorer.Application")
Do While (oIE.Busy)
Wscript.Sleep 250
Loop
oIE.visible=true
oIE.ToolBar = false
oIE.StatusBar = false
oIE.Resizable = false
oIE.Navigate (sURL)
Do While (oIE.Busy)
Wscript.Sleep 250
Loop
wscript.sleep 1000 'just so you can see the page
sFilename=replace(sURL,"/","-")
sFileName=replace(sURL,":","-")
oShell.regwrite "HKCU\Software\PDFCreator\Program\AutoSaveFileName",sFileName
Oie.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, PRINT_WAITFORCOMPLETION,0
oIe.quit
end sub
Sub Initialise
Set oReg = GetObject("winmgmts://./root/default:StdRegProv")
sPath = "Software\PDFCreator\Program"
lRC=oReg.SetDwordValue(HKEY_CURRENT_USER,sPath,"ShowAnimation",0)
lRC=oReg.SetDwordValue(HKEY_CURRENT_USER,sPath,"UseAutoSave",1)
lRC=oReg.SetDwordValue(HKEY_CURRENT_USER,sPath,"UseAutoSaveDirectory",1)
lRC=oReg.SetStringValue(HKEY_CURRENT_USER,sPath,"AutoSaveDirectory","c:\temp")
lRC=oReg.SetDwordValue(HKEY_CURRENT_USER,sPath,"AutoSaveStartStandardProgram",0)
end sub